import request from '../utils/request.js'
// 获取一级分类
export const getCategoryList = (data) => {
	return request({
		url: '/course/category/getFirstCategorys',
		data,
		config: {
			method: 'GET'
		}
	})
}
// 获取二级分类
export const getCategoryList2 = (data) => {
	return request({
		url: '/course/category/getSecondCategorys',
		data,
		config: {
			method: 'GET'
		}
	})
}